import { FC } from "react";
import { View } from "@tarojs/components";
import { SafeArea } from 'antd-mobile'
import {LeftOutline} from 'antd-mobile-icons'
import style from './index.module.scss'
import classNames from "classnames/bind";
const CBN = classNames.bind(style)

const HeadBox: FC = () => {
    const returnBack = ()=>{
        console.log('返回到App首页')
    }
    return <>
        <View style={{ background: '#ace0ff' }}>
            <SafeArea position='top' />
        </View>
        <View className={CBN('headbox')}>
            中辉客服
            <View className={CBN('lefticon')} onClick={returnBack}>
                <LeftOutline />
            </View>
        </View>
    </>
}

export default HeadBox